package com.hzw.saas.web.hbox.param;

import java.io.Serializable;
import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author zzl
 * @since 02/28/2021
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("HBox文件更新参数")
public class HBoxFilePutParam implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 文件ID
     */
    @ApiModelProperty(value = "文件ID", position = 1, required = true)
    @NotBlank(message = "文件ID不可为空")
    private String fileId;

    /**
     * 文件所在目录ID，根目录ID为0
     */
    @ApiModelProperty(value = "文件父目录ID，特殊：0-根目录", position = 3)
    private String folderId;

    /**
     * 文件完整名称，含后缀
     */
    @ApiModelProperty(value = "文件完整名称，含后缀", position = 4)
    private String name;


}
